From d9d954e1878fc03910aed144f01f632b111c1aa0 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Mon, 12 Sep 2005 12:31:41 +0000 Subject: [PATCH] Always fire watches, even on the connection which caused the watch to fire. Signed-off-by: Christian Limpach --- tools/xenstore/xenstored_watch.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/xenstore/xenstored_watch.c b/tools/xenstore/xenstored_watch.c index ebd13111d5..b413f4c697 100644 --- a/tools/xenstore/xenstored_watch.c +++ b/tools/xenstore/xenstored_watch.c @@ -135,11 +135,8 @@ void fire_watches(struct connection *conn, const char *node, bool recurse) if (conn && conn->transaction) return; - /* Create an event for each watch. Don't send to self. */ + /* Create an event for each watch. */ list_for_each_entry(i, &connections, list) { - if (i == conn) - continue; - list_for_each_entry(watch, &i->watches, list) { if (is_child(node, watch->node)) add_event(i, watch, node); -- 2.30.2